scientists have found that male and female stegosaurus had different shaped plates running along their backs .
palaeontologists say male stegosaurus could have used them to show off their prowess in much the same way as peacocks do today .
research has also helped to answer a problem that has baffled palaeontologists .